package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.entity.User;
import lombok.extern.slf4j.Slf4j;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author DL5O
 * @version 1.0
 */
public interface UserService extends IService<User> {
    /**
     * 查询手机号为phone的用户
     * @param phone 手机号
     * @return
     */
    public User getByPhone(String phone);

}
